extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]超重弹"
	att.cri = 0.2
	att.criR = 0.2
	info = "暴击时额外附加目标5%血上限的伤害\n[color=#DC143C]同时装备三件时可升级[/color]"

func _connect():
	._connect()
	masCha.connect("onAtkChara",self,"onAtkChara")

func onAtkChara(atkInfo):
	if atkInfo.isCri:
		atkInfo.hurtVal += atkInfo.hitCha.att.maxHp * 0.05	
	
func upgrade():
	name = "[color=#FFFF00][史诗]超重弹"
	att.cri = 0.4
	att.criR = 0.4
	info = "暴击时额外附加目标5%血上限的伤害"